fix serialization entity namespace