Tuples as return type breaks openapi

Tuples as return type are not supported by opanapi [1]. This causes issues with the /docs and /redoc generation (even if the api otherwise works). Changing to dict as return type (also in the relevant methods in the storageadapter) works, but breaks a lot of tests.

[1] https://github.com/tiangolo/fastapi/issues/466