[Python] Add unpacker for tasks and wrappers for configs