added display of JSON, fixed error in passing url to comments page