The court shall fix a reasonable compensation, not less than $50.00, to be paid to the master appointed under this part and shall fix the compensation to be paid to any representative in the nature of a guardian ad litem appointed under this part. These fees are to be taxed in the discretion of the court as a part of the costs.