fixed JSON output
added output server