this method can be simplified as return object.get(string) || '';