Json hash fix

Fixes the issue with parsing json.