Added file extension support.  Now browser will render based on file extension parameter of xml or json accordingly.