JSON and XML methods added to WObject