Added dusk.Mapper class to map JSON to objects.