use new dot_interpolate(foo, bar) instead of foo.replace('.', bar)
Merge pull request #1863 from dimagi/dot_interpolate

use new dot_interpolate(foo, bar) instead of foo.replace('.', bar)