json.extract! @pm, :id, :author, :recipient, :message, :created_at, :updated_at