Added serializer for Resource and by default populate with ModelResource the api.py template