Replace jansson with jsoncpp.
Assume jhead is in PATH.
Reverse BGR to RGB when using OpenCV's imread.