Generate compact JSON documents