Try to escape JSON for PERFILE_BROWERS based on platform
Support for RSpec 2.9.9/3