Support for more generic alternative dataset format

This introduces support for a dataset format that is more generic, with a header line and arbitrary attributes.