Tweak code style of RSpec snippets
Add JSON config and change PHP and snippets indent to 2-space tabs