Refactoring of some JSONS

Pull this out into a helper and include it