[fx] Grammalecte API: parseNode -> result as JSON