module WebAuthn::JSONSerializer

def as_json(*)

Argument wildcard for Ruby on Rails controller automatic object JSON serialization
def as_json(*)
  deep_camelize_keys(to_hash)
end