new depth and better serialization in structures