Added support for nested dictionary output with key paths. (wrote new tests and all tests pass)
updated docs