lib/json: introduces collection management in JsonStore.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>