change properties from nsstring to their ideal data type where needed