add validator to check for issues in the component.json file