work in JSON filter -- in progress
mrg
mrg
some fixes