Allow hash input, i.e. single data object