Fix possible exception in toCamelCase method
Remove useless URL instanciation
Document the indices segments response format.