Can you implement a json-schema generator?