simplified client code by fetching all at once on the server and sending
it to the client in one respsone.