Fixed up the required properties and cleaned up the JSON model files. Made sure that the nullable properties are accessed in a safe way in the rest of the code. (commit: bfeae9d)