Remove client's JsonEncoder

Related more to #415 than to #410, but good to clean up nonetheless.