Refactoring to ensure same syntax anywhere same construct is used (TypedExpression processor).
Adds support for "max(field)" / "min(field)" / "index(field, n)" / "isa(field)" in JSON based query language.
Adds unit test to ensure test coverage.