added json response to position