Sources array converted to sources object with each source's name as the object key (Closes #2)