Utils used by jach writen in python