add support for parsing old-style component.json