请总结以上一段格式为key-value的配置信息，并将其转换为json格式
user
[
  {"key": "john", "value": "123-4567"},
  {"key": "mary", "value": "987-6543"},
  {"key": "sam", "value": "456-7890"},
  {"key": "emma", "value": "321-6547"}
]
assistant