I've figured out that root folder for file_mapping.json is same as for the "Out of Box" thumbs.
Looks also like path traversal is forbidden...
The only posibility to make thumbnails more flexible that comes to my mind is creating hardlinks between folders... 😕