API additions

These additions add the ability to output the API in XML format as well as alter the date format slightly to conform with the ISO 8601 format standard.