Refactor loading/saving code into fromDBObject and toDBObject methods so that
we can make recursive calls.