Support assign to hashes using dot. Fixes #1168