Raise custom exception KeyNotAllowed if one of extra_json keys is not allowed.