Update fields.md

obj.__class__ will return the actual Class object, we want to serialise a string (accessed with obj.__class__.__name__)
Merge pull request #1692 from davbo/patch-1

Update fields.md