removed root from toJson