now reading json using BigDecimal instead of Double for numbers, done implementing rpc calls