ykpers: update dependencies

Uses json-c, and pkg-config to find json-c.

Closes #20811.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>