JSON tree generation takes path to plain text + part as params