handle whitespace variations in json
Merge pull request #2278 from joshua-rutherford/master

handle whitespace variations in json