Storing Extra Properties in BlockEntity: Issues & Solutions?

I’m developing a plugin and am looking to extend the BlockEntity attributes to store some additional information. I’ve encountered an issue where, although the BlockEntity interface declaration includes [key: string]: any; , the additional properties don’t seem to be stored in the local database. This is because when I try to use these properties later, either through direct access or using a query, I can’t retrieve the values I’ve set. Does anyone have any suggestions on how to address this?

How do you try to store them?