Mass-reformat caskfiles for improved readability [WIP]

Ref  #4924.

There are inevitable merge conflicts; will tend to them.