Added support to cast hash with string keys to hash with symbol keys