Call json/generate-string for all kinds of collections

json/generate-string will transform list and set into vector, so shouldn't be harmful accept all kinds of collections.

Tests are included.