Apply json response to calendars modal