Open layout from json

I want to import a json into penpot which corresponds to the elements and their css properties. In other words, I want to assemble the layout by json. What is the best strategy to follow? I am using penpot locally, open source.