fixed bad url
added json rendering