Move 'currentPage' to 'currentPages' json structure and remove 'getCurrentPage' and 'setCurrentPage' methods