turn object into map also
importing a test object and struct2map test
Merge pull request #3 from tony-azevedo/master

turn object into map in struct2map