Working JSON decoding for PortMapping, Container, Containers

With tests.