Only maps are allowed as json to pack