Fix response parsing
Merge pull request #5 from nlegoff/v2

Fix plugin response parsing