replaced json rest store with an in memory store