Generate dynamic JSON upon request.