Added record toMap method
Added union toMap method
Merge pull request #266 from alexarchambault/feature/tomap

toMap