json.extract! account, :id, :username, :password, :home, :site, :created_at, :updated_at json.url account_url(account, format: :json)