Added json communication