Trim values and property names