JSON pretty printing is now used when getCapabilities() is called due to
no method being specified.

Change-Id: Ia7d5910a16d53705f8fd8d72620b41e879a48420