My scheduled task returns a dictionary which is serialized and stored in the scheduler_run table in the result column. The dictionary is actually a dictionary of dictionaries, only one level deep. I used eval to recover the original dict. Oddly True and False values are serialised as true and false (lowercase). They don't eval back since true and false are not defined. I've worked around this by assigning true = True, false = False and then doing eval. I don't know enough about Python to tell if this is my fault somehow.
--