I'll update the example to be clear about loading in a string, or switch it to loading in a dict schema structure and using that.