modifies hit id field parsing to accommodate ids with spaces in the document routing