Chat commands

Added JSON parser for chats.