Now writes XML *or* JSON.  Checking in 2001 as JSON.