rename modules
inmemory -> memory / jsonfile