Generate resource_uri for models on serialization