server needs json lib