getBreakpoints return array of numbers

fixes #1852