trying to get around list/string error

something weird here: the value I get back from
package['extras']['dates'] is sometimes a list (good), sometimes a
string (bad). So I use a hackish combination of eval and str that
should work on both cases and always give me back a list