Create an in-memory session store and adjust the response format.