fix json_parser similar to how the parent class was fixed