fix BinData#tojson with subtype 3