OZP-10: override toJSON to account for attributes that model or collection