Output JSON in :pretty mode by default
Set defaults consistently from defaults constant
Fix issue with write_docs where apis parameter was effectively ignored
Ensure defaults are used when no configuration is set
Use DEFAULT_VER constant in tests instead of "1.0"