Jsonb everywhere.
Fix querybuilder for make iit compatible with real storage.
Adapt storage and api to query builder for obtain documents.