Take XML, JSON or Normal input object and parse into Php object(array) and return the object and its type. This is useful for working with sources where it's convenient for others to use different formats for data transmission.