Make component.json be valid json.