Never be faced to chossing between JSON or XML... just use what comes at hand and json-n-xml (a bidirectionnal JSON<->XML transformer)