python sqlite dictionary cursor