formatFilterCondition
Clone filter object before passing it to RestApi