Handle invalid script and template fields component.json.
Updated README.md.