Updating json reader to use optional fields.