This code was taken from https://github.com/marvindv/jsonlogic_rs
provides functions to compare two JSON Value