You library can return data as Array or Object based on config setting