minor change to how json is returned