Renamed _prettyJson method to _prettyObject.