Change object to string input