PHP lib for creating lazy array_map that preserves keys