Add integration test for normalizeHash (Closes #1411).
Normalize hash should not return (Fixes issue mentioned in #1411).

The only task of normalizeHash is to allow normalization of specific
parts of the payload, it should still allow the call to
JSONSerializer#normalize which ultimately takes care of applying
proper transformation for every key.
Merge pull request #1583 from abuiles/test-normalizeHash

Add integration test for normalizeHash - fix  bug when calling normalizeHash (Closes #1411).