Another solution could be ``forbid_extra_data`` (defaulting to ``true``)