Response content-type change

Right now when you change Response Content Type in select list the format of response isn't change - path is set on initialization. write a little fix for it - switch between json and xml.