fixed json_encode tag in layout