[FIX] survey: specify related field's type

The new API requires that fields be correctly typed and ensures the resulting
values match expectation. An old-api related field must be explicitly typed as
it's a function field, and the default type for function fields is float.