the comment could clarify that "what" should be omitted (if that is true) when one is talking about themself - I don't think using "what" is nonstandard
and definitely, we don't have to omit "what" in "The beast was much stronger than what John had imagined."