There seem to be times when the request returns an empty result, and the json parsing returns an empty string which causes the return to fail, this just returns an empty string in that case, makes it a bit more resilient