persist properties, refactor querydeserializer