JSON Helper for rspec