(pouchdb/mapreduce#191) - write parseIndexableString

Related to https://github.com/pouchdb/mapreduce/pull/191