add json protocol specs