Convert track references from strings to objects