Improved serialization of nested association data