added a demo JSON output at /test