`var serializer = this` so later usages are clear what "this" is