python sqlite insert list of dict