Support for data-field with dot notation.

Useful when you need fields that are inside an object.

First commit had a bug, for non-string fields and it was fixed.