Changed the context to a Yaml format, to support nested object trees.
Additionally allowing the specification of an external yaml file as a context.