Fix json return from getFunctionCallFromSyntax in parser