Move warning messages to lib/warning_messages.json