add methods to configure a store (or just a collection) using a json configuration file