Get json instead of xml & simplify.