Change response from xml to json