Improved/extended information printed in profiles and plans

I don't think we can factorize anything useful. But I will modify the operator<<. I doubt someone is relying on that output, also because it is partly broken.