@domcleal, rebased with conflicts resolved in hosts#show json.  :environment was removed since there is no as_json method. It was replaced by child :environment in line #19 to keep consistent with UI controller output for v1. 