remove string hash-key and unnecessary double-quoted strings