add json inline to materials view