Optionally include root in json