empty image json parsing fix, ENG-2856

gnt tests in https://github.com/4P/gradle-nebula-tests/pull/108