Programtically obtain XML of sprites and scripts

Is there a native or Library method of obtaining the XML of a sprite/custom block or script?

This is to try using MQTT to store and retrieve them

untitled script pic (20)

If you look for cooediting or a networked backpack, you may tinker with
untitled script pic (23)
untitled script pic (24)

Thank you - I thought I’d seen something somewhere :slight_smile: