Add ip lookup to schema
Response properties should not be wrapped in array

- An overly permissive dependency specification
pulled in the latest xml2js which defaults to wrapping all properties in
arrays.  This commit turns this option off and pegs the dependency.
Honour debug config setting

- Only log errors by default
- Log everything when debug is true
Tidy up metadata and pin dependencies