location type to string