Improved security in API articles collection endpoint. Improved flexibility of renderJson API controller method.