Fix bad check for empty json when augmenting view in main

Signed-off-by: Don Naegely <naegelyd@gmail.com>