tested front-end back-end communication with JSON objects