adding json history and context menu integration