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

Align the elements of a hash literal if they span more than one line.