Fix bug with constraints and tuple of strings where: unbound method json_encode() must be called with MarathonConstraint