Join result - nested rand hand output added but not as an array?

SELECT {ba fields, “bb”:bb} as ba
FROM default ba JOIN default bb …