Extra field parsing was crashing when it stumbled across types!=string

I dont know why this went into the old pullrequest...
But as you can see in the files changed it is not much code.
let me know what you think 
johannes