Migrate to use atto for parsing of responses.

Signed-off-by: Gary Pamparà <gpampara@gmail.com>