Serialize to json the members of all classes. Add BSD license.