It seems that Adobe InDesign posses export function to JPEG format for some sort of preview purpose, accessible through the standard program menu. It seems this is the only way how to achieve idml to jpeg conversion, as no other program supports InDesign formats.
Open IDML file Open JPEG file