replaced JsonObj with Message