Adding public api (v2) with xml only output