Fixed incorrect response parsing
Fixed output naming bug