fix: Add scala script to JvmResourceFormatLoader and JvmResourceFormatSaver (#888)