Numbers like 1.0 were being encoded as <<"1">> which can lead to a bit of confusion. This merely checks if a decimial point exists and if not it appends ".0" to the value.