Custom user data - create a dictionary property

I want to store a Dictionary in my Custom User Data object for realm sync, something like the following:

public class AppUserData
    public Dictionary<string, UserPermissionObject> UserPermissions { get; }

Where UserPermissionObject is just a regular object with a couple of properties.

Is this possible, and if so how would it be implemented in the mongoDb side and how could I insert a dictionary into an entry programatically (i.e. using a .NET application or the Realm UI) if required?

Any ideas for this question?

Did you managed to this?

I was able to bringin IDictonary for usual (realmbased) collections. But not sure about user customdata?