Adjust Counter/RFCounter/RFPanel object to support json format.