fix json parsing for arrays
change marshing to json
flag out broken tests
Merge pull request #432 from cloudedge/pull-req-master-454ac0d238b53790bf599850b5ed436b2d85a86c

Fix marshalling to be SQL friendly and JSON parse for arrays [1/1]