store props on object as Map
unchecked cast warning