Add field data mapping support

Closes #867.