add path transformation functionality - composes a payload ready for API call via http client