Remove clinet argument.

Since clients communicate using only JSON there is no need for the
argument which was only used to select serialization format.
4 files changed