Implemented class that writes the schema to string