Fixed a bug using renderJson with Security-Module