Cache component.json

Updates `Installer#json` to only read `./component.json` once