Lps 40768

Hey Hugo, hope you were able to see Bruno's email response that I copied you in on.  I am resending this pull request directly to you now according to McCann's directions.  This is the fix to correct the name field for document types so that hyphens will not be changed to spaces and consequently underscores.