Expand JSON data structures to facilitate REST API usage