Announce Script - Added JSON flattening