downloads work now
added json based test