Correctly parse Ports from Docker Remote API JSON response

This fixes the parsing of the container ports field to handle the format used in the current Docker Remote API.