Added template support for nested objects with string key