Re-introduced use of r\json in write queries. It yields much better performance.