Added support for Boolean data in json objects. Cant believe I never tested this till now!