Converted NPC messages to JSON objects. It works, but is a bit messy. Next commit will be a cleaner version.