Optional dictification of objects in JSON responses