Separated json and xml data. clients can request json; xml return needs work