Convert rationals to floats to comply with JSON spec