covert the rest JSON format to ember data expected format