base64 encoding and compressing marshalled method for smaller data store foot print as well as utf-8 writtable log files