Refactor Gemfile and make format explicity json