[WIP] Add Serializer.resource method