implement loop for iterating over albums, convert brackets to dots for object access