fix: update latest schema to v3.1.0, fix JSON formatting (#216) (#217)