Fixes the json generator
Enables travis on other branches (staging-production PRs)