Fixed a bug with the json_helper