Now including parents element in output.