logs worckaround
add pid to json