preparing a json server