by: python returns list, not dict

Whoops, forgot to push a commit to #263
Merging after tests pass