add toy server for serving JSON