def register_data_language(parse_func, extension):
    """Register a data language for template input.

        parse_func - a function that takes a text and parses it into
                     a data structure.
        extension - the extension to register the data language under.
                     (example: .json).
        """
