save separately in json file cmd executable  and argand arguments