Add errorchecking for key values to map and title parser