use json array to save notification details.