added JSON outputs