Accept String or Hash inputs in Result class