Generate ".{format}" instead of ".json" suffix when using the commandline.

This causes swagger-ui to hide the extension.
Fixes #128
Build 0.9.1