Improved/extended information printed in profiles and plans

I didn't mean to completely unify them but they certainly share some code. I was wondering if it would make sense to factorize that?