Fixing RDD representation - dependencies