#NEWLINE# def request_to_jsonable( request ) : #NEWLINE# #INDENT# 'Get a request object and return a dict with desired key, value\n    pairs that are to be encoded to json format\n    ' #NEWLINE# return dict ( ( ( k , request [ request ] ) for k in ( 'id' , 'user' , 'watchers' , 'state' , 'repo' , 'branch' , 'revision' , 'tags' , 'conflicts' , 'created' , 'modified' , 'title' , 'comments' , 'reviewid' , 'description' ) ) )