Fixed date format on calendar model when serializing to JSON