Adding basic validation of the server json and adding a spec.