check is_array before implode
Merge pull request #30 from sarahkemp/master

check is_array before implode