A martini middleware that handles access serialization / de-serialization before request handling and it also attaches a function to the request object which can be called by the actual view handler function to retrieve the de-serialized access token object.