Fix for JSON with docker inspect

`docker inspect` now puts an array around the JSON instead of making it a hash.

This pull request fixes it by getting the first element in the JSON.