Serializes this Share to a json Map
Map<String, dynamic> toJson() { return { 'role': role.backendName, 'emails': emails, 'users': users, '_links': links.toJson(), }; }