The current implementation of deserializing properties from an immutable document is quite generic and used by many methods, but in particular from:
- ImmutableDocument.has()
- ImmutableDocument.get()
The methods above are largely used in queries. It would be great if we can create ad hoc methods that are optimized for has and get(<property>).