Client fixed to parse JSON