Fixed a 500 error and refined the output format of the
  message/list
  message/<id>
interfaces.