Made way controller return text/xml instead of text/html. Fixes #450