fix associative arrays if the type is not string
Merge pull request #272 from uwej711/fix_assoc

fix associative arrays if the type is not string