fn captions_for(captions: Option<&Value>, count: usize) -> Result<Vec<String>>
The captions argument, one per file in the same order (missing ones are empty).
captions