webforms – Webform_Rest Elements JSON to create form Dynamically using Javascript

The response returned by webform_rest module element endpoint /webform_rest/contact/elements has # in it’s keys as in the below image

enter image description here

What are the methods or library which could help me create form out of such json dynamically?


What should be my approach to avoid these hash in keys through module or a pre_processor? How can I create a form dynamically using the json response received using javascript or any framework.