Use base64 encoding for bytes fields, use UTC for timestamp, add
tests.