TODO:
Client-side processing of JSON data