changing response structure for index and get rooms