Add basic to_string functionality