Move conversion of Lazy Objects to GenericEntity. This allows for proper/expected usage with iterator_to_array for relationships

Prior to this commit anytime a user used iterator_to_array, it would not properly convert relationships. With this modification this is possible. Twig uses iterator_to_array for all iterators, so now Marshal Collections will be properly converted.