added map to CSV convertor

add test for getKeysFromMap