Made it so you can construct a JSON object.