[#47873133] Extract the response metadata generation.