Fixed jlist command so it now outputs valid JSON