fix passwords and add subsidiary children in json