Constraining `generateObject` to Valid JSON Object Type
Should the
generateObject method be constrained to be a valid JSON object type? Most providers require the root type be an object. Might be a worthwhile constraint. Alternatively, it could allow any type, but internally wrap it if the produced JSON schema is not of type object (and then unwrap it before transforming to the output type).