Base64 encode all data to deal with unicode issues