Create arbitrary key-value data

Hi! I want users to be able to define an arbitrary ‘key-value template’ (a list of keys and associated types), and then create forms based on that template that a user will then fill in, before storing that created key-value data. How would this look in the Bubble Data system? Thanks!