MDL-30126 rest client should be updated fo json support