make json render work