Add string convertion for logging of types