Replace dots in field names for ES 2.0

i forget:
a field name can consist more than one dot.
for example:
mass.originator.2.type

thx