Serializes array with association
Serializes object or array with nested collections.