Fix fact extraction encoding error

Without this change, the following error may occur when requesting a
catalog:

`Error: Could not intern from pson: source '%7B%22name%22%3A%22m' not in
PSON!`
Fix RSpec deprecation warning
Merge pull request #2 from supercow/master

Fixes and updates