added json-mirror rest endpoint