Added proper conversion of splitting ratios in BEATS to JSON. Still incomplete.