resource: add support for text/plain

This might be returned by Kill Bill for certain errors.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
gemspec: relax json dependency

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>