:environment was moved below to a child node, since it caused an error "no method key?", I assume since the as_json was removed from the Environment model.