fix server. close #20
parse json instead of require json