elastic-convert extended with expand option.