Because JSON-parsed values may not be the exact same type (float vs ints etc), do not compare values strictly.
Added two tests to make sure we can set the same value as already set without errors.