On the successful call, I am getting the JSONArray with the key \"objects\" and again the testValue with the key \"name\". The output is Like:
just
s.replaceAll("\"", "");
removes all " characters in your string.
or in your case
testValue.toString().replaceAll("\"", "");