Fix parsing for ABCDF value and add test for json parsing