Removed duplicate code from Open and LSPA object parsers in stateful02.

Change-Id: I98c3905d9cf6ac703bb1f76fe4eb4fe98c8d67e2
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>