moved normalizeId to JSONSerializer
Merge pull request #1964 from bmac/normalizeId

moved normalizeId to JSONSerializer