A lightweight JSON serializer implementation.