put json parsing work in the background