builder: WORKDIR supports json syntax.

closes #8386