fix for libjansson