remove _BIDCreateDictionaryFromJsonObject
integer type is long on 32-bit
better JSON accessors for bidtool
use ABI compatible error type