component.json: main can be just a String