Generic Json client Class