Remove unused Parser class member level

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Make attribute parsing and string trimming conditional

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>