code cleanup, serializers for RavenJ*, support for non-US locale