Move `JSON.parse(json)` to `lib/remote_factory_girl.rb` and pass in parsed json