Ensure json flag gets set when restricted/shared is in effect
Ensure json flag gets set when restricted/shared is in effect

databrary/databrary,databrary/databrary,databrary/databrary,databrary/databrary