Change the format of the ratings dump endpoint.

Fixes #135 for @hughsie.