add method to get object attribute keys