Add XML support for locations endpoint. Closes #15