toJSON: if set to just the id, also add ids for 'unfound' models. Should fix #191.