Changed ResponseType from application/json to custom type