Make pathmapper apply mappings recursively (for nested dicts and lists).

@maethu @elioschmutz