fixed performance bottleneck by replacing jsonpath with underscore filtering