Fixed compilation of bon2json and json2bon