added JSON server capability