Convert dates properly to JSON.
time.Time support for GoValueToJsValue