json: avoid mallocs for bbJSONTYPE_ARRAY items
map: bbMapInitCopy makes deep copy