work on JSON output filter -- in progress