formula parsing on jsaon array