Whitelist metadata attributes in forDB. Fixes #877.
Merge pull request #884 from pluma/foxx-models-io

Better Foxx.Model attribute handling (fixes #877 and #878)