Remove nil value key from JSON