She wanted to be in the parade scene and wasn't in the script, so she put on that costume and showed up as an extra. When John Hughes didn't recognise her even when she approached him and talked to him, she knew she was in.
That's from Jennifer's personal FB page, (as opposed to fan pages that a lot of people have--started by them or others).