added JSON query
minor change
indent output