Correctly map number formats when transferring them from one doc to another.

Change-Id: I7908ee84bfbe1ae2f53c0dd90b6d70503ac76312