JSON encode decode interface skeleton