Added correct parsing of xml response if it is received instead of json
Added number support
Bump API version