Add list-json option.

Fixes: 8925
Signed-off-by: Warren Usui <warren.usui@inktank.com>