JSON adapter prototype