[FIX] Bug in getcomponentsdefinitions, where quotes in a property's Tooltip would cause a syntax error on the client.
[FIX] Bug in getcomponentsdefinitions, where trailing commas in a property's definition would cause syntax errors in IE.