remove dynamic props from object