fieldNames() -> structFields()
Fix encode_test.go