Fix to tile retrieval for WMTS via couchdb

x, y, z coords are strings, so we had some type errors being thrown when WMTS was used