Removing a puts statement
Adding in complimentary testing code to ensure that mismatched attribute hashes are handled correctly during serialization