Small fix on a return in json