Render query json in template
updated documentation
updated doc