JSON adapters for filter group and composed query