start processing json