json: replace bbMapPair with more type-safe bbJsonObjPair