added sub field support (field name including .)
allow field names to include .
Merge pull request #2 from matthiasg/master

Add support for field names to include '.' (the dot character)