CI is currently broken because today's POTD `credit` property contains a JSON object and not a string. The MediaWiki API can return either data type for all extmetadata properties, but currently we only attempt to structure some, and just pass through others.
Once and for all, we should handle extended metadata (`extmetadata`) items from the MediaWiki API consistently and return them in the following format:
```
{
html: <original HTML-formatted text of the value from the MediaWiki API>
text: plaintext of the value (HTML-formatted original text, decoded and with tags stripped)
lang: language code representing the language of the value (if provided)
}
```
This affects both the featured feed POTD and the /page/media response.
=== Open question
Currently we use some custom logic to try to structure the `artist` info in a unique way. Should this also be standardized or should the custom logic be preserved?