ILL: provide JSON-safe from Record methods.

* Koha/ILL/Record.pm (getSummary) (getFullDetails): use Record key as
  key, make value arrayref of $name, $data.