Fixing missing check in referenceable dataset renderer.
Expanding headers directly to a list of key value pairs, as it makes troubles when used as a lazy evaluated list. Somewhat related to #276.