added json response route for use by dome-client's url shortening feature