added on custom date handler onto json serialization