Thank you billat29.
I followed your advice and with some googling, I've managed to bring the data back.
I'll just share my story for someone in the same situation.
As you suggested, I created an Ubuntu vmware, attached the vmdks and followed the synology guide.
Well, that didn't work but it was a good staring point. It just refused to mount the raid array.
After trying different things from the google search, I finally found the working solution.
The actual data partition was btrfs so I googled recovering btrfs partition and this came up.
http://askubuntu.com/a/407766
Installed btrfs tools and then ran the following command and it was all fixed.
btrfs-zero-log /dev/md2
(md2 was my mounting point for the raid array. might be different for others)
I copied the vmdks back to dsm vmware folder and everything came back to normal.
Hope this helps anyone.