Export in json for companies and users, refs #21390