Fix member serialization