Deserializing data collections had a syntax error
Refactored the serialize method to clean it up and delegate to other functions for serializing properties vs. collections
Refactoring serialize method further to idiomatic ruby
Making sure the instance variable for a collection is set before accessing it
Pulled the serialization to string format out of the document and moved into a serializers module