Added declarative texts on deserialization
added declared text to serialize