XML goes in, JSON goes out.