further tweaks for nested output json with status strings