fix json writer to use table display name