debug logging of state to help track down memory leaks
build jansson with autotools rather than cmake