Make sure to encode time in UTC

Currently, a time.Time value is encoded directly but the resulting iso8601 format string does not include a time zone, resulting in the time being interpreted in UTC (while it's not necessarily so).