adding JSON download