http/js/jsonutil.js
function convertJsonToEdits(dbSchema, type, json, topTemporaryId){
	//_.assertInt(topTemporaryId)
	if(dbSchema.jsonConverters === undefined){
		dbSchema.jsonConverters = {}
	}
	var converter = dbSchema.jsonConverters[type]
	if(converter === undefined){
		converter = dbSchema.jsonConverters[type] = generateJsonConverter(dbSchema, type)
	}
	//console.log(JSON.stringify(json))
	return converter(json, topTemporaryId)
}
function convertJsonToEdits(dbSchema, type, json, topTemporaryId){
	//_.assertInt(topTemporaryId)
	if(dbSchema.jsonConverters === undefined){
		dbSchema.jsonConverters = {}
	}
	var converter = dbSchema.jsonConverters[type]
	if(converter === undefined){
		converter = dbSchema.jsonConverters[type] = generateJsonConverter(dbSchema, type)
	}
	//console.log(JSON.stringify(json))
	return converter(json, topTemporaryId)
}
var jsonConverters = {}