Also accept instances of uuid.UUID as params in queries.