Format object keys recursively.