lower case JSON, use hash instead of attributes for host