json interface to RT's REST interface