Better error message while JSON parsing fails in ServerHelper.