improve (but still don't totally fix) types to contain xml response
add some very rudimentary testing to help debug issue with xml response parsing
gofmt