If for some reason there is a buffer, but the content is empty, or invalid, return an empty string instead of trying to parse it