Added string return value logic: strings should now properly be returned. Tested with URL and validated that a slash will help to canonicalize the URL in the test procedure.