Just a minor update: toJson is now asJson