def METHOD_NAME(self):
    for field_name in self._file_form_field_names():
        self._add_hidden_field(
            f"{field_name}-uploads",
            json.dumps(self._get_upload_data_for_field(field_name)),
        )