Replication manager changes

Why are we encoding JSON inside of JSON? The properties will be encoded as JSON. So what we are doing is creating a new JSON property called arg_json whose value is a string which is JSON. By doing this we blind ourselves to the content of the replication command since the query facilities all depend on addressing JSON properties. Don't we want to actually save the JSON structure as a JSON structure inside of the JSON database and not as a string of JSON?