Support dense:thrift and sparse:thrift output formats

> package? Should be .arbitrary for consistency maybe.

Sigh. IntelliJ fail.