fixes #5314
Merge pull request #5315 from dotCMS/issue-5314-jsoncontent-modifies-contentmap

fixes #5314