Json-array error fixes and final analysis