improved 'docker inspect' call parsing