PDI-11855: Fixed the marshaling of the date JSON to use angular's helper method.