Fixed missing "re" import

You're missing a `re` import, which breaks the interactive JSON mode.