adding hot chai and json serialization