Convert from Mallet outputs to the input/output structure needed by ITM
webservice