added ability to flatten tags when calling generateAll