Design methodology
To avoid conflicts from simultaneous updates; we will try to follow these rules on the server side
never store summaries (counts, maxima, sums, analyses)
never update anything in place unless you own it and no one else reads it.
never keep lists, only subtags.
only insert.
Also, because a FirebaseDB query with a unique tag will return as a value the JSON of everything under that tag (but not the tag), we will include a duplicate of the unique parent ID under the subtag ID, to make it accessible through the lookup-in-pairs block.
I can't save lists of lists in firebase