generate json format result for importing mongoDB