Serializer.serialize now takes Object.
Fixed up tests and added more.