Added alert if json has a message object