Data::Object::Cast provides functions for casting native data types to objects and the reverse.