JSON adapter working