forgot to add check for startsWith("[") to the JSON response check in
getResourceUsingRESTfulAPI()