Make sure that exit_json always returns the same structure
Bring back old idempotence for old usage to prevent a backwards incompatibility