add json helper and code for short algorithm and tools on Nlog