Php Flatten Array With Keys