Fixes Issue 9755 - Json template protection attribute output was wrong.
Merge pull request #1768 from AndrejMitrovic/Fix9755

Issue 9755 - Json template protection attribute output is wrong.