Abstracted JSON status reponses to its own class.