Use Mapper class to unserialize activity objects

This will let us unserialize unknown objects in a dynamic way