extend path api with tags support, refactoring;

2 jobs for !104 with add-record-tags-support in 17 seconds (queued for 2 seconds)
merge request