PHP - remapping array content using array_map