solved JSON object building issues

still error with READ / WRITE functions