Related to discussion here.
Instead of using raw string to identify the fields, let's build up some FieldPath class that will be easier to manipulate (and more robust).
string
FieldPath class
@rrsettgast @CusiniM