dataUri: moved to class, better output, remove duplicates