Refactor out records property from DatabaseData.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>