Use the non html-encoded value when converting a JSON string to media. Fixes #103