TingoMixin.js
function( s ){

    if( s.match(/\./ ) ){

      var l = s.split( /\./ );
      for( var i = 0; i < l.length-1; i++ ){
        l[ i ] = '_children.' + l[ i ];
      }
      return l.join( '.' );

    } else {
      return s;
    }
  }
function( s ){

    if( s.match(/\./ ) ){

      var l = s.split( /\./ );
      for( var i = 0; i < l.length-1; i++ ){
        l[ i ] = '_children.' + l[ i ];
      }
      return l.join( '.' );

    } else {
      return s;
    }
  }
function ( s ) { if ( s . match ( / \. / ) ) { var l = s . split ( / \. / ) ; for ( var i = 0 ; i < l . length - 1 ; i ++ ) { l [ i ] = '_children.' + l [ i ] ; } return l . join ( '.' ) ; } else { return s ; } }
If there are ".", then some children records are being referenced. The actual way they are placed in the record is in _children; so, add _children where needed.
If there are . then some children records are being referenced . The actual way they are placed in the record is in _children ; so add _children where needed .