def process_body_as_hash(resource, body)
      result = body

      if resource::LIST_NAME.kind_of? Array # search which list name is present on body
        list_name = resource::LIST_NAME.find { |name| body.keys.include?(name) && body[name].kind_of?(Array) }
      else
        list_name = any_listname_of(resource)
      end
      result = {list_name => [body]} unless body.has_key? list_name # for the cases where body represents a single resource
      return list_name, result
    end
def process_body_as_hash(resource, body)
      result = body

      if resource::LIST_NAME.kind_of? Array # search which list name is present on body
        list_name = resource::LIST_NAME.find { |name| body.keys.include?(name) && body[name].kind_of?(Array) }
      else
        list_name = any_listname_of(resource)
      end
      result = {list_name => [body]} unless body.has_key? list_name # for the cases where body represents a single resource
      return list_name, result
    end
Discover what list name defined on resource is present on body
 If none of then is find assume that the body is a single resource
 and add it value into array and assing to any list name