testRestGetJsonEx() helper func.
Mark views as stale when item is expired.

cbugg: close bug-563