Use the song __json__ func for populating JSON response.

Also changed to dateutil for parsing the metadata date, as
it's now a iso8601 formatted string.