parsing of objects with attributes