Flatten key names.

Replace "." with underscore in key names.
Override Properties to keep keys in the same order as in the source
file.