Refactor core action to return a parser instance based on the response body

1 trailing blank lines detected.