[#1886] A new renderJSON overload in Controller