Export json file to marshal binary