Same here, I would verify `mapping` is a dict.