Model helper, functions to write and read the Slave/Server DB.
@spec reads(map(), {any(), any(), any(), any()}) :: {nil | {:error, :eaddr} | {:ok, [any()]}, map()}
@spec write(map(), {any(), any(), any(), any()}) :: {nil | {:error, :eaddr} | {:ok, nil}, map()}