Refactored responses
Refactor: rename resource mimeType to contentType
Fixed content type in response factory