make content header and config values available as json template variable for use in JS
enable having no documents in index
added json encoder for handling datetimes
version bump