inflight, json, cleanup