Convert XML to JSON In Angular JS