Support creating entity from hash with string has key