set field value correctly for dot notation field names