Parse JSON in just one place