Adapt ratings to API response structure