deserialization is possible for primitive types