Angular - json date marshalling