Php Turn Object Into Array