Update messages.json

Completely rewrote extract tool to improve performance and stability