support component.json and package.json (and any other json files) simultaneously