Fixes typos. Adds output format documentation.