Arguments handling
In the XML files, to pass more complex types of data we accept json in the xml attributes and as such, we create a function to parse it
parse_attrs
parse_attrs (attrs:dict[str,str])
Parses a dictonary of string into a dictonary of parsed values.
parse_arg
parse_arg (arg:str)
Parses a single arg in string format using json.