base64 encode json file command line