Document `Rational` json generation methods.
Reindented