Made listUsers return into correct JSON format