Go demo: how to parse XML and respond with JSON