Fix dynamic fields in hit.document