Avoided to get circular reference for empty object in array

If I have tried to serialize array with empty objects (or serialized map exclude all properties), I catch the circular reference.