Rest-snap: remove json dependency.

It wasn't needed.