add convertTableToMap

for easier map creation
Merge pull request #56 from maxxst/master

[improvement] better map builder