Removed Base 64 stuff, added hexadecimal decoding for string values in doc.time