created a dbmng_data2JSarray function

integrated in dbmng_crud function