2 new kwargs: write_to_db, return_objects. Fixes #2