Apollo 3943 normalised document names

Cast as a fail safe, but the cast will do nothing if it is already the right value. The `type` may get cast but data could get lost in this process ;)