[fix] allow json in env