Changed dataformat for SR api to json, makes it easier to parse.