refactoring common parser code. cluster requests tests