fixed wrong json for getMessageById API