Fixed up types for attempt_json_parse.