Shopify/batman — pull request #332 by hookercookerman (2012-02-15 14:04:54+00:00)
Title: Custom Primary Keys should not encoded with undefined if no value set

Custom primary keys were setting an undefined property value when toJSON;