replaced with sane version of jansson