fix some bad JSON data