removed attributes from array that are nil or empty?
Merge pull request #6 from stewartmckee/tidy_empty_attributes

Tidy empty attributes