Expand normalizeUserAttributeMap

I have refactor method `normalizeUserAttributes` to expand for `normalizeUserAttributeMap` and add example for config client.
Please review. If you think that is reasonable please merge it and complete docs for it.

Thanks
Great, ur idea very good. 
I think we need to refactor it