added json request and removed extras