Fixed minor error in method - error was not returning pre-decoded string.