It turns out I was using it wrong

 - foreach(field; schema.fields)
    span=field.name // this is wrong
    span=field.name.get!string // this works

this is not intuitive - but it works