fix insert of json with more than 1 key/value