Fixed bug in JSON serializer.