render :json appears to have changed ... this is odd ... better add some tests