fixes #1940
Merge pull request #1942 from dotCMS/issue-1940-contentAPI-not-saving-properly

fixes #1940