Fix mapping of fields in superclasses, fixes #29

Signed-off-by: Ross Allan <rallanpcl@gmail.com>