add json format to connections