abstracting citations into Python objects to prepare for cleaner insertion into db using __toString