Correcting XML results to sent primative properties as attributes.
Creating better error handling that conforms to the spec.