Added jsonlite_parser_terminate function