traffic optimization: replace four text queries in web interface every five seconds with one JSON query