Relax JSON deserialization strictness when handling Docker REST API responses.

Relax JSON deserialization strictness when handling Docker REST API responses.
Fixes #588

Signed-off-by: Paulo Pires <pjpires@gmail.com>