Fixing issues with LCSH and returning hash in proper format