def fetch_property(property)
      return nil unless property

      unless respond_to?(property)
        object = @resource.send(property)
      else
        object = send(property)
      end
    end
def fetch_property(property)
      return nil unless property

      unless respond_to?(property)
        object = @resource.send(property)
      else
        object = send(property)
      end
    end
Fetches property from the serializer or resource.
 This method makes it possible to overwrite defined attributes or associations.