ASMD: An Automatic Framework for Compiling Multimodal Datasets