add object [key] [value] getter