cast any objects given for debug as strings