Refactored the Json class for testing, improved Network tests, fixed #4: Only call Acquia\Common\Json::prettyPrint() when native options are not available