Add serialization for the nested table