Added API method to provide a custom database map (on both, writer and reader side)