Changed symptoms and diagnoses arrays to objects