XML to JSON convert in PHP