Accessing to option 'optimize-autoloder' inside 'post-autoload-dump' script event.
Changed short array syntzx to long
Fix json test, fixes #3326
Merge pull request #3327 from Strate/dump_autoload_event_args

Accessing to option 'optimize-autoloder' inside 'post-autoload-dump' script event