Tidy up documentation

Remove extra whitespace, make key names consistent.