Changed json responses to exclude errors