Shortening string representation of capabilities in the hub log. Fixes issue 6445