Added the ability to have a collection as an attribute and hydrate correctly