Map javascript object properties to aliases for optimal serialized document storage