Changed SendGet/SendPost to return either a JObject or JArray, depending on received data