revert: fix(Angular.js): toKeyValue is not serializing null values

This commit contained broken tests and was not ready to be merged.

(reverted from commit 814c9847e8489809b150d3b54e9da25c1fceb581)