add patterns for process id and tunneling json through message