bug with json and decimal refixed
some tests added