In memory and JSON adapter done. Now need to work with complex types