(2)The Judge may, on application made by petitioner and on cause shown to his satisfaction, and upon such terms as to security, or providing that the money received be paid into Court, or otherwise, as he thinks fit, assign the bond or other security to some proper person, and that person shall thereupon be entitled to sue thereon in his own name as if it had been originally given to him instead of to the Judge of the Court, and to recover, as trustee for all persons interested, such amount as may be recoverable thereunder.