Added test for current mongo-rest bug.
Fixed the serialization and deserialization of Strings.