Changed texts to JSON.

Added a text to JSON migrator and changed the texts to a json store
rather than a level db store.