fix bug of write_json_file in BioUtil::Util