Added parsing of the document name so that the full key is not returned on get requests