porting over some internal changes
improving data structure support
Merge pull request #24 from eoneill/master

fixes for data structures and porting over some LinkedIn internal changes