Josephson vortex loops in nanostructured Josephson junctions