Fixing Map element bug.

- Currently if your dynamo db has a Map property only that property will be returned during a scan. The change I am proposing fixes the issue and returns the full object, as including properly parsed map.

In the existing code, if map is encountered only content of the map is returned. While what should happen, map should be parsed and added to the remaining elements. 

- Removing blank spaces at the end of lines.