lib: setup JSON serialization for `Nohup_setsid`