daemon: stop and json format correction

Signed-off-by: Mourgaya <eric.mourgaya@gmail.com>