Added support for "flatten-map" attribute in object-to-map transformer.

I've added an attribute "flatten-map" to object-to-map transformer in order to configure to flatten or not flatten the keys generated by transformer.