Changed children array to contain original keyvalues