move DecimalJSON renderer into its own module
add basic test for renderer