Api returns a map instead of a list.