[Installer] changed to JSON output

https://gerrit.wikimedia.org/r/#/c/119528/

Change-Id: I67ccc8da6f5ac8b2d974618d54c7484b14869bfe