Added methods to return the data either as json or as xml
Added Info model