Flatten object keys