turn data files into b64 for transport
make sure we dont die on bad json (ujson can dumps bad data)