added dynamic var for json filename

Enjoy!