Parsing JSON from deployment API endpoints