refactored some core write operations a bit to support a refactoring of the legacy bulk api in order to allow the development of the new high-level crud api.