Accept 1 as well as true due to version change in JSON module