removed casting of the objects.  This was only needed for primatives
Merge pull request #6 from leafknode/STUD-2557

STUD-2557: removed casting of the objects.  This was only needed for primatives