Handle Docker lookups, add simple test.
Cleanup containers at shutdown.
Simplify json handling.
Handle null id.