fixes issue with json adapter not including associations on associations.