Handle the case of the extras dict having values that are collections

Fixes #63