Fix some JSON parsing & generation bugs on dates and rooms.