Removes private attributes from dictionary