iterate through keys using method on pimple.