Handle integer database IDs correctly over HTTP.