quick fixes for shity xml and json api requests