A utility helper for getting all keys from an object of unknown size using recursion.