NoUsername output
Data saved consistently

The script now saves the xml data to the database consistently. All the
json attributes will have the same type in each element of the db (if
they can be found in the element).
Minor changes