Allows you to create objects from and to dictionaries (along with other niceties). Inspired by code in Sqwiggle for iOS SDK.