Fix bad assumption that activities are JSON dictionaries

They are lists, not dictionaries
Merge pull request #14 from kahnjw/fix_bad_testing_assumption

Fix bad testing assumption