Without a .yardopts options array.pop is nil, and everything explodes with an exception. Applying this patch allowed for running rake strings:generate cleanly. Note that this did not affect strings:serve.
Fix path where json is saved. Suppress statistics when emitting json to stdout.