Remove Whitespace and add ability to request format

This update adds the ability to request the format in any of the 5 formats available;
- REST (Default)
- XML-RPC
- SOAP
- JSON
- PHP