Converting attrs to symbol before removing unncessary keys