class TransformAPI extends APIService {

    @RequestMapping(value = "/api/transform/dictionary", method = GET, produces = APPLICATION_JSON_VALUE)
    @ApiOperation(value = "Get current dictionary (as serialized object).",
            notes = "Returns a DQ dictionary serialized usin Java serialization and GZIP-ed.")
    @Timed
    public StreamingResponseBody getDictionary() {
        // get preparation/dataset content
        HystrixCommand<InputStream> dictionaryCommand = getCommand(DictionaryCommand.class);
        return CommandHelper.toStreaming(dictionaryCommand);
    }

}