Add the ability to add arbitrary metadata to the created pages.

This enables the created pages to have arbitrarily complex metadata passed in via configuration.