preProcess - we don't send nulls over the wire

Noticed recently that jQuery was setting all null properties to empty string for serialization across the wire. Not what we're looking for.

This change introduces a preProcess method, used before save and update, which removes all null keys from the model before giving it to jquery.