Update to be able to use SEMAFOR's server mode

change json format to match SEMAFOR's json output (changed when
k-best output feature was added)