Move persistence functions for all Twitter documents into separate module.