Use cursor.extra for extra response data.

Instead of cursor.info use cursor.extra attribute to provide
additional data to response.