Shortening string representation of capabilities in exceptions thrown by grid