Support for serialization of nested keypaths