fixed json rendering