JSON generation for variant arrays

No pausing yet.