Parse JSON response sent by the Union Station gateway and process it accordingly.