upload write_json.rb