To this end they've done wonders with respond_to and render's :xml argument. However, they left the other end empty: there's no clear, simple way to turn the XML back into something usable, or to even connect to the server (that I found).
format.json { render :text => @event.to_json }
(tags: rails ruby json xml micro-formats)