Error chart created, it needs to think through about json serialization