A filter needs to be added so user has option to fetch data with missing leaves. jsonpath-plus doesn't support this yet https://github.com/JSONPath-Plus/JSONPath/issues/158 Maybe some other library can be used for this.