propagation of max_axes argument to children
unification of db cursor i/f
indirect jsonification, add raw option, remove unused portions of sql queries