changed json output to match message controller