better JSON output for status
fixed logic
added tests for changed JSON structure in status command
Dont emit non-JSON if --json is passed
Version bump to 1.16.1