fixes #6545
fixes #6545
really fixes #6545
Merge pull request #6546 from dotCMS/issue-6545-make-restexample-work

fixes #6545