Removing unnecessary properties values