need to get textToHash to strip quotes from keys