Issue 9755 - Json template protection attribute output is wrong.

http://d.puremagic.com/issues/show_bug.cgi?id=9755