erp5_xhtml_style: fix json parsing data-gadget-renderjs-extra
When data-gadget-renderjs-extra attribute is not set to an element,
element.getAttribute("data-gadget-renderjs-extra")
returns null.
Possible error messages :
- sub_key is null
- TypeError: Cannot set property 'key' of null