Perhaps, but now that I'm careful to only get the field called data, the only problem would be if an xblock author created a data field of some type other than string. I'll add the check, though.