def to_hash
            index_hash = {}
            index_hash['json_claz'] = self.class.name
            index_hash['id'] = id
            index_hash['provided_by'] = provided_by
            index_hash['cattype'] = cattype
            index_hash['flavor'] = flavor
            index_hash['image'] = image
            index_hash['catorder'] = catorder
            index_hash['url'] = url
            index_hash['envs'] = envs
            index_hash['options'] = options
            index_hash['plans'] = plans
            index_hash['created_at'] = created_at
            index_hash['updated_at'] = updated_at
            index_hash['status'] = status
            index_hash['inputs'] = inputs
            index_hash['outputs'] = outputs
            index_hash['acl_policies'] = acl_policies
            index_hash["some_msg"] = some_msg
            index_hash
        end
def to_hash
            index_hash = {}
            index_hash['json_claz'] = self.class.name
            index_hash['id'] = id
            index_hash['provided_by'] = provided_by
            index_hash['cattype'] = cattype
            index_hash['flavor'] = flavor
            index_hash['image'] = image
            index_hash['catorder'] = catorder
            index_hash['url'] = url
            index_hash['envs'] = envs
            index_hash['options'] = options
            index_hash['plans'] = plans
            index_hash['created_at'] = created_at
            index_hash['updated_at'] = updated_at
            index_hash['status'] = status
            index_hash['inputs'] = inputs
            index_hash['outputs'] = outputs
            index_hash['acl_policies'] = acl_policies
            index_hash["some_msg"] = some_msg
            index_hash
        end
Transform the ruby obj ->  to a Hash