Update python bindings to iterate fields by name.