A expanded version of your work.

It outputs the whole XML as JSON (condition, forecast, wind, etc.)