Hello again, As we were testing the version 7.7, we ran into a problem (that actually existed in 7.6 too). We cannot produce json with restxq. We came up with a minimal file that illustrate the problem: ------- module namespace local = 'http://www.example.com/local'; declare %restxq:path("") %output:method("json") function local:test-json() { '{}' }; ------- This produce the following error : HTTP ERROR 400 Problem accessing /. Reason: [BXJS0002] JSON serialization: Atomic values cannot be serialized. Are we missing something ? Best, Jean-Philippe -- Jean-Philippe Magué Maître de Conférences en Humanités Numériques Responsable de l'Atelier des Humanités Numériques : ahn.ens-lyon.fr Ecole Normale Supérieure de Lyon +33 (0)4 26 23 38 08 -- "Using computers will therefore lead us to a more profound and systematic knowledge of human expression; in principle, it can help us to be more humanistic than before." Busa, 1980.